home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 67 / IOPROG_67A.ISO / soft / Tools / mwsppv4.exe / INSERT NEWCLDEBUGGER.SCRIPT < prev    next >
Encoding:
Text File  |  2002-01-10  |  901 b   |  29 lines

  1. !!Script
  2. // Copyright ⌐ 1997-2001 - Modelworks Software
  3.  
  4. // Insert script helper for:
  5.  
  6. /**
  7. @Object: Application
  8. @Method: newCLDebugger - create a mew CLDebugger (command line debugger). The purpose 
  9. of the object is to allow a command line debugger to be visually wrapped.
  10. This method returns the same object as Java.newJDKDebugger() when called with 
  11. the jpdaOptions are empty. 
  12. @Syntax: Application.newCLDebugger(toolpath, parameters, onCleanupHandlerPath[, verbose, output])
  13. @Summary: newCLDebugger - create a mew CLDebugger (command line debugger)
  14. */
  15.  
  16. function DoCommand()
  17. {
  18.   var editor = getActiveEditor();
  19.   if (editor)
  20.   {
  21.     var selection = editor.getSelection();
  22.     editor.replace("Application.newCLDebugger(toolpath, parameters, onCleanupHandlerPath[, verbose, output])", selection);
  23.     editor.setActive("Insert Application.newCLDebugger");
  24.   }
  25. }
  26.  
  27. !!/Script
  28.  
  29.